//
//  ToolViewViewController.h
//  IWaneHome
//
//  Created by hwd on 印度历1938/3/22.
//  Copyright © 印度历1938年 hwd_zlg. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ToolViewVC : UIViewController

//用键盘时弹窗（bug）
+(void)addKeyAlterViewController:(NSString *)msg Controller:(UIViewController *)controller;
//弹窗
+(void)addAlterViewController:(NSString *)msg Controller:(UIViewController *)controller;
//pop弹窗
+(void)addPopAlterViewController:(NSString *)msg Controller:(UIViewController *)controller;
+(UILabel *)addCellLineLab:(CGRect)cg;
//判空
+(BOOL)isNotNullStr:(id)DataStr;
//获取非空数据
+(id)getNotNullStr:(id)DataStr;
//更改时间格式
+(NSString *)ChangeData:(NSString *)str IntType:(NSString *)IntType OutType:(NSString *)outType;
+(NSString *)ChangeTimeYearMD:(NSDate *)date Type:(NSString *)outType;//返回年月日
//时间date
+ (NSDate *)getTimeDate:(NSString *)Time IntType:(NSString *)type;
//秒 时间转换
+ (NSString *)getTimeStr:(NSString *)time;
+ (NSString *)beJsonStrWithObj:(id)obj;
//更新
+(void)addGengXin;
//获得非空字典
+(id)getNotDic:(id)DataStr;
/*
 精确计算
 firstNumberStr:第一个值
 secondNumberStr：第二个值
 typerNumber:计算类型 加减乘除 0123
 */
+(NSDecimalNumber *)getCalculateFirstNumberStr:(id)firstNumberStr SecondNumberStr:(id)secondNumberStr TypeNumber:(NSInteger)typerNumber;
//获取宽度
+(float)getlabWidth:(NSString *)textStr WithFont:(float)font;
@end
